//*****************************************************************************
//
// ABEC3 Solving File
// Project: 45 Tower BEM = Exterior + Interior
//
//*****************************************************************************


Control_Solver
  f1=200;  f2=8000Hz;  NumFrequencies=60;  Abscissa=log
  MeshFrequency=1000Hz
  Dim=3D;  Sym=x


MeshFile_Properties
  MeshFileAlias=M
  Scale=1mm
  Shift= -110mm, 0, 0

MeshFile_Properties
  MeshFileAlias=A
  Scale=1mm
  Rot= 90 0 0
  Shift= 0, 0, 815mm

MeshFile_Properties
  MeshFileAlias=I
  Scale=1mm
  Rot= 90, 0, 0
  Shift= 0, 0, 815mm

MeshFile_Properties
  MeshFileAlias=D
  Scale=1mm
  Rot= 90 0 0
  Shift= 0, 120mm, 815mm

//-----------------------------------------------------------------------------

Subdomain_Properties 'Interior'
  Subdomain=1
  ElType=Interior

Subdomain_Properties 'Horn'  
  Subdomain=2
  ElType=Interior

Subdomain_Properties 'External'
  Subdomain=3
  ElType=Exterior
  IBPlane=z
  IBOffset=-700mm
  
//-----------------------------------------------------------------------------  

off Elements 'Check_Cabinet'
 MeshFileAlias=M
 100 Mesh Include all  
  
Elements 'Cabinet Internal'
  Subdomain=1
  MeshFileAlias=M
  100 Mesh  Include 10 20 17 18 19


Elements 'Cabinet External'
  Subdomain=3
  MeshFileAlias=M
  100 Mesh  Include 23 22 21 13 24

//-----------------------------------------------------------------------------

off Elements 'Check_Horn'
 MeshFileAlias=I
 100 Mesh Include all

Elements 'Horn'
  Subdomain=2
  MeshFileAlias=I
  Swapnormals
  100 Mesh  Include 4 5 6

Elements 'Horn Case'
  Subdomain=1
  MeshFileAlias=A
  100 Mesh  Include 6 2 5 3

  
off Elements 'Check_Adapter'
  MeshFileAlias=D
  100 Mesh Include all

Elements 'Horn Adaptor'
  Subdomain=2
  MeshFileAlias=D
  Swapnormals
  100 Mesh Include 2 3 4
  
off Elements 'Check Mounting Plane'
  Subdomain=2
  MeshFileAlias=D
  100 Mesh Include 10

Elements 'Mouth Interface'
  MeshFileAlias=I
  Subdomain= 3,2
  MeshFrequency=10000Hz
  100 Mesh Include 3

//-----------------------------------------------------------------------------

Diaphragm  "Woofer Front1"
  DrvGroup=1001                // Driving group link to observation stage
  SubDomain=3                  // Front side belongs to sub-domain 2
  EdgeLength=20mm
  Position= MeshFileAlias=M Include 6  Rot=67.5
  NoBaffle
  Simple=true                  // Simple model
  Side=Front                   // Creates elements for the front side of the diaphragm
  dD=120mm                     // Diameter of cone Orinal 110
  tD1=20mm                     // Inner depth of cone to base of dust cap
  dD1=20mm                     // Diameter of dust cap
  hD1=5mm                      // Height of dust cap
  //Ws=5mm                       // Width of outer suspension
  hD2=40mm                     // Height of total cone on the outside
  dVC=20mm                     // Diameter of voice coil
  hVC=0mm                      // Height of voice coil
  dM=80mm                      // Diameter of magnet
  hM=20mm                      // Height of magnet

Diaphragm "Woofer Rear1"
  RefDiaphragm="Woofer Front1"
  DrvGroup=2001                // Driving group link to observation stage
  SubDomain=1                  // Rear side belongs to sub-domain 1
  Position= MeshFileAlias=M Include 6    Rot=67.5
  Side=Rear
  t1=-10mm

Diaphragm "Woofer Front2"
  RefDiaphragm="Woofer Front1"
  SubDomain=3                  // Front side belongs to sub-domain 2
  DrvGroup=1002                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 32    Rot=67.5

Diaphragm "Woofer Rear2"
  RefDiaphragm="Woofer Rear1"
  SubDomain=1                  // Rear side belongs to sub-domain 1
  DrvGroup=2002                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 32    Rot=67.5

Diaphragm "Woofer Front3"
  RefDiaphragm="Woofer Front1"  
  SubDomain=3                  // Front side belongs to sub-domain 2
  DrvGroup=1003                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 2

Diaphragm "Woofer Rear3"
  RefDiaphragm="Woofer Rear1"
  SubDomain=1                  // Rear side belongs to sub-domain 1
  DrvGroup=2003                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 2

Diaphragm "Woofer Front4"
  RefDiaphragm="Woofer Front1"
  SubDomain=3                  // Front side belongs to sub-domain 2
  DrvGroup=1004                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 36  Rot=67.5

Diaphragm "Woofer Rear4"
  RefDiaphragm="Woofer Rear1"
  SubDomain=1                  // Rear side belongs to sub-domain 1
  DrvGroup=2004                // Driving group link to observation stage
  Position= MeshFileAlias=M Include 36  Rot=67.5
  

Diaphragm  "Horn"
  DrvGroup=1005                // Driving group link to observation stage
  SubDomain=2                  // Front side belongs to sub-domain 2
  Position= MeshFileAlias=D Include 10 Rot=-57.9 SwapNormals
  NoBaffle
  Simple=true                  // Simple model
  Side=Front                   // Creates elements for the front side of the diaphragm
  dD=1in                       // Diameter of horn throat
